import request from '@/utils/request'

// 列表
export function getList(data, page) {
    return request({
        url: '/House/get_house_list/'+ (page ? page : 1),
        method: 'post',
        data: data
    })
}

// 获取分页
export function getPage(data) {
    return request({
        url: '/House/page',
        method: 'post',
        data: data
    })
}
export function info(data) {
    return request({
        url: '/House/info',
        method: 'post',
        data: data
    })
}
export function save(data,url) {
    return request({
        url: url,
        method: 'post',
        data: data
    })
}